package init

import (
	"github.com/spf13/viper"
	"system/user-server/basic/config"
)

func InitApp() {
	viper.SetConfigFile("../../config.yaml")
	viper.ReadInConfig()
	viper.Unmarshal(&config.AppConf)
}
